package com.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class UserResourceResultVO {
    private Integer id;
    private String title;
    private String path;
    private String original_name;
    private Integer file_size;
    private String file_type;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private String create_date;
    private Integer cost_type;
    private Integer cost_number;
    private String user_name;
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getOriginal_name() {
        return original_name;
    }

    public void setOriginal_name(String original_name) {
        this.original_name = original_name;
    }

    public Integer getFile_size() {
        return file_size;
    }

    public void setFile_size(Integer file_size) {
        this.file_size = file_size;
    }

    public String getFile_type() {
        return file_type;
    }

    public void setFile_type(String file_type) {
        this.file_type = file_type;
    }

    public String getCreate_date() {
        return create_date;
    }

    public void setCreate_date(String create_date) {
        this.create_date = create_date;
    }

    public Integer getCost_type() {
        return cost_type;
    }

    public void setCost_type(Integer cost_type) {
        this.cost_type = cost_type;
    }

    public Integer getCost_number() {
        return cost_number;
    }

    public void setCost_number(Integer cost_number) {
        this.cost_number = cost_number;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "UserResourceResultVO{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", path='" + path + '\'' +
                ", original_name='" + original_name + '\'' +
                ", file_size=" + file_size +
                ", file_type='" + file_type + '\'' +
                ", create_date=" + create_date +
                ", cost_type=" + cost_type +
                ", cost_number=" + cost_number +
                ", user_name='" + user_name + '\'' +
                ", status=" + status +
                '}';
    }
}
